package com.yantong.service;

import com.yantong.utils.PageUtils;
import com.yantong.pojo.StoreEvents;

import java.util.List;
import java.util.Map;

/**
 * 优惠券服务
 * @author kanghaixin
 * @date 2018/9/25.11:22
 */
public interface StoreEventsService {

    int save(StoreEvents storeEvents);

    StoreEvents getByKey(Long id);

    int update(StoreEvents storeEvents);

    List<StoreEvents> queryList(Map params);

    void delete(Long id);

    int queryTotal(Map params);

    PageUtils<StoreEvents> list(Map params);

    StoreEvents getMaxEvents(Map map);
}
